package com.k12.admim.service;

import com.k12.admim.model.entity.sys.SysPost;
import com.k12.admim.model.vo.sys.SysPostVo;
import com.k12.common.model.resp.R;

import java.util.List;

public interface OperatorPostService {
    List<SysPost> listPost(SysPostVo post);

    boolean checkPostNameUnique(SysPostVo post);

    boolean checkPostCodeUnique(SysPostVo post);

    boolean insertPost(SysPostVo post);

    boolean updatePost(SysPostVo post);

    R deletePostByIds(Long[] postIds,String tenantId);

    SysPost selectPostById(Long postId,String tenantId);
}
